package com.lbm.exercise;

public class Division {

    public static Integer divide(Integer a,Integer b) throws Exception{
        int c = 0;
        try{
            c = a / b;
            System.out.println("Test");
        }catch(Exception e){
            throw e;
        }

        return  c;
    }


    public static void main(String[] args) {
        int a = 1;
        int b = 0;
        try{
            Integer divide = Division.divide(a, b);
        } catch (Exception e) {
            e.printStackTrace();
            //throw new RuntimeException(e);
        }finally {
            System.out.println("you are pig");
        }

    }
}
